<%@ page language="java" pageEncoding="UTF-8"%><%@ taglib prefix="s" uri="/struts-tags"%>
<jsp:include page="/usercenter/include/base_usercenter_pre_part.jsp"></jsp:include>
<script type="text/javascript" src="<%=request.getContextPath()%>/usercenter/company/js/company.js"></script>
<div class="box_blue">
	<div class="box_title">
		查看公司信息
		<input type="button" onclick="javascript:jtool.goto('<%=request.getContextPath()%>/usercenter/company/listCompanies.do');" value="返回列表" />
	</div>
	<s:if test="company==null ">
		<s:text name="company.not.exist"></s:text>
	</s:if>
	<s:else>
		<table width="100%">
			<s:hidden name="company.id" />
			<s:label name="company.region.fullName" label="%{getText('region')}" />
			<s:label name="company.name" label="%{getText('name')}" />
			<s:label name="company.email" label="%{getText('email')}" />
			<s:label name="company.phone" label="%{getText('phone')}" />
			<s:label name="company.tel" label="%{getText('tel')}" />
			<s:label name="company.address" label="%{getText('address')}" />
			<s:label name="company.postcode" label="%{getText('postcode')}" />
			<tr>
				<td class="tdLabel">
					<s:text name="introduction" />
					:
				</td>
				<td>
					<s:property value="toHtml(company.introduction)" escape="false" />
				</td>
			</tr>
			<tr>
				<td></td>
				<td>
					<input type="button" value="<s:text name="edit" />" onclick="javascript:editCompany('<s:property value="company.id"/>')" />
					<input type="button" value="<s:text name="delete" />" onclick="javascript:removeCompany('<s:property value="company.id"/>')" />
				</td>
			</tr>
		</table>
	</s:else>
</div>
<jsp:include page="/usercenter/include/base_usercenter_last_part.jsp"></jsp:include>